package com.ruoyi.recyclecomprehensive.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel
@Accessors(chain = true)
@NoArgsConstructor
public class VerifyRecycleOrderDTO implements Serializable {
    private static final long serialVersionUID = -1686901206785390678L;
    @ApiModelProperty(value = "订单号")
    private String recycleOrderNo;
    @ApiModelProperty(value = "订单状态")
    private String orderStatus;
    @ApiModelProperty(value = "积分")
    private Long integral;
    @ApiModelProperty(value = "更新人姓名")
    private String updateBy;
    @ApiModelProperty(value = "验货物品")
    private List<VerifyRecycleCommodity> commodities;
    @ApiModelProperty(value = "综合站账号")
    private String account;

    @Data
    @Accessors
    @NoArgsConstructor
    public static class VerifyRecycleCommodity implements Serializable {

        private static final long serialVersionUID = 6371750306156795092L;
        @ApiModelProperty(value = "物品ID")
        private Long id;
        @ApiModelProperty(value = "重量")
        private BigDecimal weight;
        @ApiModelProperty(value = "图片,多张以;分隔")
        private String pictureUrl;
    }
}
